package com.dsg.dao.apply;

import com.dsg.entity.apply.DsgApplyBill;
import com.dsg.entity.apply.DsgApplyPay;
import com.dsg.entity.dto.CusPayDto;
import com.dsg.entity.dto.CusPaymentDto;
import com.dsg.util.BaseDao;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 繳款資料 Mapper 接口
 * </p>
 *
 * @author system
 * @since 2020-07-04
 */
@Repository
public interface DsgApplyPayMapper extends BaseDao<DsgApplyPay> {
    /**4個月內有成功收錢*/
    Integer successInFourMonth(DsgApplyBill bill);
    List<CusPayDto> selectPay(String ownsId);
    List<CusPaymentDto> selectCusPay(String ownsId, Boolean onProcess, String carNo, String payAccountNo);
}
